#pragma warning(disable:4996)
#pragma warning(disable:6031)

#include <stdlib.h>

int GlobalVar = 1;
static int staticGlobalVar = 1;

void test()
{
	static int staticVar = 1;
	int localVar = 1;

	int num1[] = { 1,2,3,4 };
	char char2[] = "abcd";
	char* pchar3 = "abcd";

	int* ptr1 = (int*)malloc(4 * sizeof(int));
	int* ptr2 = (int*)calloc(4, sizeof(int));
	int* ptr3 = (int*)realloc(ptr2, 8 * sizeof(int));

	free(ptr1);
	free(ptr2);
}

